class A:
    def say(self):
        print('A:say.....')


class B:
    def eat(self):
        print("B:eat...")


class C(A, B):
    def sleep(self):
        print("C:sleep...")


c = C()
c.say()
c.eat()
c.sleep()
